package com.kaifamiao;

import java.util.logging.Logger;

public class Monkey {

    private static final Logger logger = Logger.getLogger(Monkey.class.getName());

    private String name;

    static {
        logger.info("类初始化");
    }

    public Monkey(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Monkey{" +
                "name='" + name + '\'' +
                '}';
    }

}
